import request from '@/utils/request'

// 查询聘用评估中介机构列表
export function listDealWfIntermediary(query) {
  return request({
    url: '/intermediary/dealWfIntermediary/list',
    method: 'get',
    params: query
  })
}

// 查询聘用评估中介机构详细
export function getDealWfIntermediary(id) {
  return request({
    url: '/intermediary/dealWfIntermediary/' + id,
    method: 'get'
  })
}

// 保存聘用评估中介机构
export function saveDealWfIntermediary(data) {
  return request({
    url: '/intermediary/dealWfIntermediary/save',
    method: 'post',
    data: data
  })
}

// 删除聘用评估中介机构
export function delDealWfIntermediary(id) {
  return request({
    url: '/intermediary/dealWfIntermediary/' + id,
    method: 'delete'
  })
}

// 导出聘用评估中介机构
export function exportDealWfIntermediary(query) {
  return request({
    url: '/intermediary/dealWfIntermediary/export',
    method: 'get',
    params: query
  })
}
